﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel.Activation;
using System.Web;
using System.Security;

namespace iLangl.Services
{
	[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
	public class TestService : ITestService
	{

		#region ITestService Members

		public void Test()
		{
			if (!HttpContext.Current.User.Identity.IsAuthenticated)
			{
				throw new SecurityException();
			}

		}

		#endregion
	}
}
